import request from '@/utils/request'

// 导入表格
export function generatorPdfByExcel(query) {
  return request({
    url: '/tools-authreport/generatorPdfByExcel',
    method: 'post',
    params: query
  })
}

// 列举出 /mnt/auth_pdf/download/ 下边的文件夹
export function listFolder(query) {
  return request({
    url: '/tools-authreport/listFolder',
    method: 'get',
    params: query
  })
}

// 删除 /mnt/auth_pdf/download/ 下边的文件夹
export function deleteFolder(folderName) {
  return request({
    url: `/tools-authreport/deleteFolder/${folderName}`,
    method: 'delete'
  })
}
